#include "remotefilereader.h"

RemoteFileReader::RemoteFileReader(const QUrl& fileToRead):
    Downloader(fileToRead),
    _canBeRead(false)
{
}

QString RemoteFileReader::getContents()
{
    return _fileContents;
}

void RemoteFileReader::replyFinished()
{
    _fileContents = _reply->readAll();
    _canBeRead = true;
}

